
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import ElementUI from 'element-ui';
import App from './App.vue';
import router from './router';


import 'element-ui/lib/theme-chalk/index.css';  //  element-ui  样式库   
import './assets/css/common.css'     //  公共样式库

import  VueQuillEditor from 'vue-quill-editor'  //编辑器

import 'quill/dist/quill.core.css';
import 'quill/dist/quill.snow.css';
import 'quill/dist/quill.bubble.css';

Vue.use(VueQuillEditor)

Vue.config.productionTip = false

Vue.use(ElementUI);


//三种请求方式
import {ApiPost, ApiGet, ApiPut} from './config/userconf'
Vue.prototype.$httpPost = ApiPost;
Vue.prototype.$httpGet = ApiGet;
Vue.prototype.$httpPut = ApiPut;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})



